﻿
using DotNetMVC.OA.EFDAL;
using DotNetMVC.OA.IDAL;

namespace DotNetMVC.OA.DALFactory
{
    public partial class DbSession : IDbSession
    {

        #region T4 模板生成
        //public IUserInfoDal UserInfoDal
        //{
        //    get { return StaticDalFactory.GetUserInfoDal(); }
        //} 
        #endregion

        public int SaveChanges()
        {
            return DbContextFactory.GetCurrentDbContext().SaveChanges();
        }
    }
}
